package org.footballmanager.pandafootball.system.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * 杯赛报名
 */
@Entity
@Setter
@Getter
@ToString
public class FootCupbm extends BaseEntity implements Serializable {
	@Column(name = "user_id")
	private Long userId;
	@Transient
	private String userName;
	@Column(name = "sj")
	private Long sj;
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "join_date", length = 19)
	private Date joinDate;
	@Column(name = "jj1")
	private Boolean jj1 = false;
	@Column(name = "dznum")
	private Integer dznum = 0;
	@Column(name = "jj2")
	private Boolean jj2 = false;
	@Column(name = "jj3")
	private Boolean jj3 = false;
	@Column(name = "jj4")
	private Boolean jj4 = false;
	@Column(name = "type")
	private Boolean type = false; // true 冠军杯 false 联盟杯

}